
                    
require  'java'

module JavaSql
  include_package 'java.sql'
end

include_class("java.lang.Class") #{ |packagename, classname| "J" + classname}
Java::JavaClass.for_name("org.apache.derby.jdbc.EmbeddedDriver")
connection = JavaSql::DriverManager.getConnection("jdbc:derby:GroupDB;create=true", 
              "", 
              "")